package com.ewili.x.special.dao.inter;

import com.ewili.x.special.entity.Stock;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface StockDao extends JpaRepository<Stock, Long> {

    Stock findByCode(String code);

    @Override
    List<Stock> findAll();

}
